Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup root directory #2210

Merged
merged 1 commit into from
Aug 13, 2015
Merged

Cleanup root directory #2210

merged 1 commit into from
Aug 13, 2015

Conversation

tresf
Copy link
Member

@tresf tresf commented Jul 25, 2015

Closes #2201

@tresf tresf mentioned this pull request Jul 25, 2015
@@ -498,7 +498,7 @@ ADD_CUSTOM_TARGET(dist
COMMAND make clean
COMMAND rm -rf "${TMP}"
COMMAND mkdir -p "${TMP}"
COMMAND cp AUTHORS build_mingw32 build_mingw64 CMakeLists.txt configure COPYING INSTALL lmms.1 lmms.rc.in lmms.spec.in lmmsconfig.h.in lmmsversion.h.in README TODO "${TMP}"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Explanation: These are now moved into directories that are copied recursively, no need for explicitly copying them.

@@ -498,7 +499,7 @@ ADD_CUSTOM_TARGET(dist
COMMAND make clean
COMMAND rm -rf "${TMP}"
COMMAND mkdir -p "${TMP}"
COMMAND cp AUTHORS build_mingw32 build_mingw64 CMakeLists.txt configure COPYING INSTALL lmms.1 lmms.rc.in lmms.spec.in lmmsconfig.h.in lmmsversion.h.in README TODO "${TMP}"
COMMAND cp AUTHORS build_mingw32 build_mingw64 CMakeLists.txt configure COPYING INSTALL README.md TODO "${TMP}"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since COPYING was renamed to LICENSE.txt, does this line need to be updated as well?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, should TODO and configure be removed, as well as build_mingw32/64 since they were moved to a different directory just like the lmms.* files?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Wallacoloo : Done, done and done via tresf@95f0b29. Also removed configure

@tresf tresf force-pushed the 2201-root-refactor branch from 1545930 to 29c809b Compare July 30, 2015 04:01
@tresf tresf force-pushed the 2201-root-refactor branch 4 times, most recently from 4a1cd1d to cfcdd5e Compare August 7, 2015 21:00
@tresf
Copy link
Member Author

tresf commented Aug 7, 2015

Ok, I've started to do the /data cleanup per notes above via tresf@cfcdd5e.

I'm sure I have something I missed, but so far it looks like everything should compile.

If you look at how the platform-specific packaging logic can now be removed from /CMakeLists.txt and brought into it's platform-specific directory.

Feedback welcome.

-Tres

@tresf tresf force-pushed the 2201-root-refactor branch 7 times, most recently from 6bd14a8 to 9fe9517 Compare August 12, 2015 18:30
@tresf
Copy link
Member Author

tresf commented Aug 12, 2015

@curlymorphic @Wallacoloo I'll be merging this soon. I'm having a bit of an issue with some of the paths (i.e. https://github.com/tresf/lmms/blob/2201-root-refactor/cmake/nsis/CMakeLists.txt#L2) which I'm still trying to iron out, but any feedback before this is merged is greatly appreciated.

@tresf
Copy link
Member Author

tresf commented Aug 12, 2015

... in addition, WIN64 isn't being detected (or at least the IF(WIN64) isn't setting the package name properly... drat... 😢

@Wallacoloo
Copy link
Member

Wallacoloo commented Aug 12, 2015 via email

@Wallacoloo
Copy link
Member

@tresf builds fine (in both gcc and clang) for me & verified that it loads projects, outputs audio, and exports wavs correctly. I don't see any blaring errors in your edits to the build tools, but I only skimmed the changes.

@tresf tresf force-pushed the 2201-root-refactor branch from f644c2a to df1508d Compare August 13, 2015 06:41
@tresf
Copy link
Member Author

tresf commented Aug 13, 2015

Ok, I think I figured out the packaging problems per tresf@df1508d.

-Tres

@tresf
Copy link
Member Author

tresf commented Aug 13, 2015

And @Wallacoloo thanks for the testing and vote of confidence. I'll probably squash these later in the day and merge.

@tresf tresf force-pushed the 2201-root-refactor branch from df1508d to c8e3e4e Compare August 13, 2015 15:36
Cleans up the root directory of the GitHub source tree and starts to separate platform-specific installing and packaging logic from the master CMakeLists.txt.  Closes LMMS#2201
@tresf tresf force-pushed the 2201-root-refactor branch from c8e3e4e to 3114cce Compare August 13, 2015 15:40
@tresf
Copy link
Member Author

tresf commented Aug 13, 2015

With some brute force, was able to sync and squash. Should be ready to merge now that all of the bugs are fixed.

@tresf
Copy link
Member Author

tresf commented Aug 13, 2015

Tested on Mac, Wine, Linux, updated documentation, merging.

tresf added a commit that referenced this pull request Aug 13, 2015
@tresf tresf merged commit f7a61ae into LMMS:master Aug 13, 2015
@tresf tresf deleted the 2201-root-refactor branch August 13, 2015 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants